﻿/*------------------------------------------------
// File Description: s_model_weld DataBase Entity
// Author:			 Crane
// Create Time:		 2021-05-11 12:13:44
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.OldMes.DataAccess.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Table("s_model_weld")]
    public class ModelWeld
    {
        private string _solar_no = string.Empty;
        private string _work_order = string.Empty;
        private string _p_code = string.Empty;
        private string _set_op = string.Empty;
        private string _set_class = string.Empty;
        private string _set_no = string.Empty;
        private string _cell_no = string.Empty;
        private string _cell_batch = string.Empty;
        private string _焊接机台 = string.Empty;
        private string _焊接温度 = string.Empty;
        private string _备注 = string.Empty;

        #region Public Property

        ///<Summary>
        /// id
        ///</Summary>
        public int id { get; set; }

        ///<Summary>
        /// solar_no
        ///</Summary>
        public string solar_no
        {
            get { return string.IsNullOrWhiteSpace(_solar_no) ? string.Empty : _solar_no; }
            set { _solar_no = value; }
        }

        ///<Summary>
        /// work_order
        ///</Summary>
        public string work_order
        {
            get { return string.IsNullOrWhiteSpace(_work_order) ? string.Empty : _work_order; }
            set { _work_order = value; }
        }

        ///<Summary>
        /// in_time
        ///</Summary>
        public int? in_time { get; set; }

        ///<Summary>
        /// p_code
        ///</Summary>
        public string p_code
        {
            get { return string.IsNullOrWhiteSpace(_p_code) ? string.Empty : _p_code; }
            set { _p_code = value; }
        }

        ///<Summary>
        /// std_strip_mutual
        ///</Summary>
        public int? std_strip_mutual { get; set; }

        ///<Summary>
        /// set_op
        ///</Summary>
        public string set_op
        {
            get { return string.IsNullOrWhiteSpace(_set_op) ? string.Empty : _set_op; }
            set { _set_op = value; }
        }

        ///<Summary>
        /// set_class
        ///</Summary>
        public string set_class
        {
            get { return string.IsNullOrWhiteSpace(_set_class) ? string.Empty : _set_class; }
            set { _set_class = value; }
        }

        ///<Summary>
        /// set_no
        ///</Summary>
        public string set_no
        {
            get { return string.IsNullOrWhiteSpace(_set_no) ? string.Empty : _set_no; }
            set { _set_no = value; }
        }

        ///<Summary>
        /// set_time
        ///</Summary>
        public DateTime? set_time { get; set; }

        ///<Summary>
        /// cell_no
        ///</Summary>
        public string cell_no
        {
            get { return string.IsNullOrWhiteSpace(_cell_no) ? string.Empty : _cell_no; }
            set { _cell_no = value; }
        }

        ///<Summary>
        /// cell_batch
        ///</Summary>
        public string cell_batch
        {
            get { return string.IsNullOrWhiteSpace(_cell_batch) ? string.Empty : _cell_batch; }
            set { _cell_batch = value; }
        }

        ///<Summary>
        /// 焊接机台
        ///</Summary>
        public string 焊接机台
        {
            get { return string.IsNullOrWhiteSpace(_焊接机台) ? string.Empty : _焊接机台; }
            set { _焊接机台 = value; }
        }

        ///<Summary>
        /// 焊接温度
        ///</Summary>
        public string 焊接温度
        {
            get { return string.IsNullOrWhiteSpace(_焊接温度) ? string.Empty : _焊接温度; }
            set { _焊接温度 = value; }
        }

        ///<Summary>
        /// 备注
        ///</Summary>
        public string 备注
        {
            get { return string.IsNullOrWhiteSpace(_备注) ? string.Empty : _备注; }
            set { _备注 = value; }
        }

        ///<Summary>
        /// 助焊剂
        ///</Summary>
        public int? 助焊剂 { get; set; }

        ///<Summary>
        /// 反光膜
        ///</Summary>
        public int? 反光膜 { get; set; }
        #endregion
    }

    public partial class OldMESContext
    {
        /// <summary>
        /// 
        /// </summary>
        public virtual DbSet<ModelWeld> ModelWelds { get; set; }
    }
}